<?php

//***************************************************************************************
// Function: is_cheating
// Input: String, detail du cheat
// Description: stock les tentatives de cheat
function is_cheating($detail){
	$detail=addslashes($detail);
	$db= new DataBase(NOM_DB);
	$sql="INSERT INTO t_cheater (login,cheat_date,txt) VALUES ('".$_SESSION['login']."','".time()."','".$detail."')";
	$db->Insert($sql);
	$_SESSION['is_cheating']=true;
}
?>
